package com.example.mydemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mydemo.entity.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author syf
 * @since 2025-06-06
 */
@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {
    List<Employee> queryByPage(@Param("pageNum") int pageNum, @Param("pageSize") int pageSize);
}

